package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description MemberMapper
 * @Author Lwj
 * @Date 2024-08-30-19:42
 */
@Mapper
public interface MemberMapper {

    /**
     * 查询Member
     * @param openId
     * @return
     */
    Member getByOpenId(String openId);

    /**
     * 添加member
     * @param member
     */
    void save(Member member);

    /**
     * 更新member
     * @param member
     */
    void update(Member member);
}
